FilterEverything\Filter\FilterFields D

Total Complexity 197
Dependencies 4
Dependents 3
Total lines 1,275
Lines of code 888
Logical lines of code 436
Comment lines 152
Methods 33
Properties 5

Methods 33

Method Rating Maintainability Complexity Lines of code
validateTheFilter()
D
23
48 179
prepareFilterInputs()
D
31 39 93
sanitizeFilterFields()
A
43 11 49
sendExcludedTerms()
A
47 9 36
ajaxDeleteFilter()
A
50 9 28
setupDefaultFields()
A
31 1 148
ajaxValidateFilters()
A
50 9 26
validateFilters()
A
52 8 24
entityBelongsToPostType()
S
58 6 15
fillErrorsMessages()
S
58 5 15
deleteRelatedFilters()
S
56 4 18
saveFilter()
S
49 3 30
getFiltersInputs()
S
62 4 11
getFieldsByType()
S
63 4 10
addSpinnerToSelect()
S
59 3 14
filterBelongsToPostType()
S
61 3 12
getErrorsList()
S
44 1 42
getErrorCodes()
S
66 3 9
isTaxonomyBelongsToPostType()
S
65 3 9
pushError()
S
64 3 10
deleteFilter()
S
65 3 10
prepareFilterCheckboxFields()
S
64 3 10
getInsteadEntityField()
S
58 1 15
registerHooks()
S
63 2 10
getErrorMessage()
S
69 2 7
getErrors()
S
72 2 6
generateInputName()
S
68 2 7
getOrderByOptions()
S
60 1 13
getEmptyFilterObject()
S
63 1 11
getFieldsMapping()
S
82 1 3
getViewOptions()
S
63 1 10
generateInputID()
S
78 1 3
__construct()
S
73 1 5